﻿using System;
using System.ComponentModel.DataAnnotations;

namespace MiniWeb.Web.Controllers.Admin.OrdersManager.ViewModels
{
    public class SaveOrders
    {
        public int? ID { get; set; }

        [Display(Name = "订单号")]
        public string Code { get; set; }

        [Display(Name = "订单总额"), Required(ErrorMessage = "请输入！")]
        public decimal RMB { get; set; }



        [Display(Name = "订单状态"), Required(ErrorMessage = "请输入！")]
        public int State { get; set; }

        [Display(Name = "备注"),]
        public string Tip { get; set; }
    }
}